package com.nanjia.boot.delivery.converter;

import com.nanjia.boot.delivery.model.entity.DeliveryAddress;
import com.nanjia.boot.delivery.model.form.DeliveryAddressForm;
import org.mapstruct.Mapper;


/**
 * 收货/收票管理对象转换器
 *
 * @author 周洋
 * @since 2025-07-03 10:49
 */
@Mapper(componentModel = "spring")
public interface DeliveryAddressConverter{

    DeliveryAddressForm toForm(DeliveryAddress entity);

    DeliveryAddress toEntity(DeliveryAddressForm formData);
}